package com.probiz.estore.system.service.impl;

import com.probiz.estore.common.model.system.SystemVersion;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.system.dao.SystemVersionDao;


/**
 * SystemVersion Business Delegate (Proxy) implementation to handle communication between web and
 * persistence layer. Implementation of SystemVersionManager interface.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
 */
public class SystemVersionManagerImpl extends GenericManagerImpl<SystemVersion> implements com.probiz.estore.system.service.SystemVersionManager {

	private SystemVersionDao systemVersionDao = null;
	
	public void setSystemVersionDao(SystemVersionDao systemVersionDao) {
		this.systemVersionDao = systemVersionDao;
	}

	public SystemVersion getSystemVersion() {
        return systemVersionDao.getSystemVersion();
    }

	@Override
	protected void initManager() {
		dao = systemVersionDao;
	}

	@Override
	protected void preDelete(SystemVersion entity) {
		
	}

	@Override
	protected void preSave(SystemVersion entity) {
		
	}
}
